﻿using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;

namespace WordAI.Model
{
    internal class DifyChatDto
    {
        [JsonProperty("query")]
        public string Query { get; set; }

        [JsonProperty("response_mode")]
        public string ResponseMode { get; set; }

        [JsonProperty("conversation_id")]
        public string ConversationId { get; set; }

        [JsonProperty("user")]
        public string User { get; set; }

        [JsonProperty("files")]
        public List<DifyChatFile> Files { get; set; }
    }

    internal class DifyChatFile
    {
        [JsonProperty("type")]
        public string Type { get; set; }

        [JsonProperty("transfer_method")]
        public string TransferMethod {  get; set; }

        [JsonProperty("url")]
        public string Url { get; set; }

    }
}
